from flask.views import MethodView
from flask import render_template
class task1_API(MethodView):
    def get(self):
        return render_template('task1.html')
    def post(self):
        return 'task1_post'
    def delete(self):
        return 'task1_delete'
    def put(self):
        return 'task1_put'




